package com.globallogic.oopbasics.competence.entity.creator;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class CompetencyValuesParser {

	private static final double ZERO = 0.00;
	private Map<String, Double> paramMap = new HashMap<String, Double>();

	public CompetencyValuesParser(List<String> paramNames,
			List<Double> paramValues) {
		for (int i = 0; i < paramNames.size(); i++) {
			if (i < paramValues.size()) {

				paramMap.put(paramNames.get(i), paramValues.get(i));
			} else {
				paramMap.put(paramNames.get(i), ZERO);
			}
		}
	}

	public Map<String, Double> getParamMap() {
		return paramMap;
	}

}
